package com.starter.home.service;

import com.starter.home.domain.entity.ServeInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.starter.home.domain.vo.ServeInfoVO;
import com.starter.home.util.CommonParam;
import com.starter.home.util.PageUtil;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author
 * @since 2020-05-01
 */
public interface IServeInfoService extends IService<ServeInfo> {

    PageUtil getInfoList(CommonParam commonParam);

    void deleteById(Integer id);

    List<ServeInfo> getByUserId(Integer userId);

    ServeInfoVO getInfoDetail(Integer infoId);

    PageUtil getInfo(CommonParam params, Integer id, Integer i);
}
